<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>index</title>
	</head>
	<body>
		<h1>Form</h1>
		<div class="center">
		<fieldset>
			<legend>登录</legend>
			<!-- action最后的 "/"必须要加上 -->
			{%if status%}
			<span class="error">{{status}}</span>
			{%endif%}
			<form action="app01/login/" method="POST">
				用户名：<input type="text" name="username"/><br/>
				密&nbsp;码：<input type="password" name="password"/><br/>
				<input type="submit" value="登录">
			</form>
			
		</fieldset>
		</div>
		<div class="center">
		<fieldset>
			<legend>登录</legend>
			<!-- action最后的 "/"必须要加上 -->
			{%if error%}
			<span class="error">{{error}}</span>
			{%endif%}
			<form action="app01/login/" method="POST">
				用户名：{{data.username}}<br/>
				邮&nbsp;箱：{{data.email}}<br/>
				IP&nbsp;：{{data.ip}}<br/>
				<input type="submit" value="登录">
			</form>
			
		</fieldset>
		</div>
	</body>
</html>